package com.moyou.weichat.utils;

/**
 * sj ：2017年10月16日11:03:11
 * name: ts
 * 用途:常量类
 */

public class ConstantUtils {
    public  static final  int PHONE_LENGTH = 11;

    public  static final  int PHONE_LENGTH_PASS = 6;

    public  static final  int LOGIN_TYPE_NAME = 1; // 账号长度

    public  static final  int LOGIN_TYPE_PASS = 2; //密码长度

    public  static final  int HANDLER_SUCCESS = 1; //handler的通知type成功的状态

    public  static final  int HANDLER_Fali = 3; //登录失败

    public  static final  int HANDLER_LOAD = 2; //登录中


    public  static final  int CHAT_NOTIFICATION_REFSH = 4000; //更改聊天的type
    public  static final  int CHAT_NOTIFICATION_NUMBER = 4001; //更改聊天的type

//     ------------------------------SharePreface-------------------//

    public  static final  String IS_LOGIN  = "IS_LOGIN" ; //登录中







    // --------------------------------聊天字段！
    public  static final  String CHAT_VOICE  = "voice_call" ; //拨打电话
    public  static final  String CHAT_VIDEO  = "video_call" ; //拨打视频
    public static final String MESSAGE_ATTR_IS_BIG_EXPRESSION = "em_is_big_expression";




    //------------------聊天的type
    public  static final  int CHAT_TYPE_LEFT_TEXT = 1; //文本左边的type
    public  static final  int CHAT_TYPE_RIGHT_TEXT = 2; //文本右边的type

    public  static final  int CHAT_TYPE_LEFT_LOCATION = 3; //文本定位左边的type
    public  static final  int CHAT_TYPE_RIGTH_LOCATION = 4; //文本定位右边的type

    public  static final  int CHAT_TYPE_LEFT_IMAGE = 5; //文本图片左边的type
    public  static final  int CHAT_TYPE_RIGTH_IMAGE = 6; //文本图片右边的type

    public  static final  int CHAT_TYPE_LEFT_VOICE = 7; //文本音频左边的type
    public  static final  int CHAT_TYPE_RIGTH_VOICE = 8; //文本音频右边的type

    public  static final  int CHAT_TYPE_LEFT_VIDEO = 9; //文本视频左边的type
    public  static final  int CHAT_TYPE_RIGTH_VIDEO = 10; //文本视频右边的type



    //------------------聊天类型
    public  static final  int CHAT_TYPE_SING = 1; //单聊
    public  static final  int CHAT_TYPE_GROUP = 2; //群聊
    public  static final  int CHAT_TYPE_ERRO = -1; //群聊




    //-----------------常用type;
    public  static final  int TYPE_NUMBER = 0; //单聊
    public  static final  int TYPE_NUMBER_ONE = 1;
    public  static final  int TYPE_NUMBER_TWO = 2;
}
